import { EnumProperty, IWidget } from "xcore/cmpnt"

const DateRange: IWidget = {
  cmpnt: "x-date-range",
  valueKey: "date-range",
  category: "widgets",
  props: {
    placeholder: "请输入",
    format: "YYYY-MM-DD",
    "value-format": "YYYY-MM-DD",
    clearable: true,
    disabled: false,
    style: {
      width: "200px",
    },
    class: [],
    bind: { properties: [EnumProperty.Removed] },
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-input",
    name: "DateRange",
    group: "date",
    text: "日期范围",
  },
};
export { DateRange };
